import maximize from './maximize';

const install = function (Vue) {
  Vue.directive('el-maximize-dialog', maximize);
};

if (window.Vue) {
  window['el-maximize-dialog'] = maximize;
  Vue.use(install); // eslint-disable-line
}

maximize.install = install;
export default maximize;